package com.huang.service;

import com.huang.dao.CarDao;
import com.huang.pojo.Car;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class CarServiceImpl implements CarService{

    @Resource
    private CarDao carDao;
    @Override
    public List<Car> get() {
        return carDao.get();
    }
}
